package com.fh.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.fh.base.BasicDAO;
import com.fh.dao.ImagesMapper;
import com.fh.model.Images;

@Service
public class ImagesService implements BasicDAO<Images> {
	@Autowired
	private ImagesMapper mapper;
	public int deleteByPrimaryKey(Long id) {
		
		return mapper.deleteByPrimaryKey(id);
	}

	public int insertSelective(Images entity) {
		
		return mapper.insertSelective(entity);
	}

	public Images selectByPrimaryKey(Long id) {
		
		return mapper.selectByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(Images entity) {
		
		return mapper.updateByPrimaryKeySelective(entity);
	}
	
	public List<Images> selectByAll() {
		return mapper.selectByAll();
	}
	


}
